<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 写css样式的时候，按顺序写，更清晰 */


        * {
            margin: 0;
            padding: 0;
        }

        img {
            display: block;
            width: 190px;
            height: 150px;
            /* margin: 10px; */
        }

        ul {
            width: 190px;
            height: 470px;
            /* 裁剪溢出的内容 */
            overflow: hidden;
            margin: 50px auto;
            /* list-style: none; */
            background-color: #fba;
        }
        li:not(:last-child) {
            margin-bottom: 10px;
        }
    </style>
</head>

<body>
    <!-- 方案一： 需要用div给它包起来-->
    <!-- <div>
        <a><img src="../../images/绿草茵茵.jpg" alt="绿草茵茵"></a>
        <a><img src="../../images/翱翔天际.jpg" alt="翱翔天际"></a>
        <a href=""><img src="../../images/蓝天白云.jpg" alt="蓝天白云"></a>
    </div> -->

    <!-- 方案二：用ul列表 -->
    <ul>
        <li><a href="#"><img src="../../images/绿草茵茵.jpg" alt="绿草茵茵"></a></li>
        <li><a href="#"><img src="../../images/翱翔天际.jpg" alt="翱翔天际"></a></li>
        <li><a href="#"><img src="../../images/蓝天白云.jpg" alt="蓝天白云"></a></li>
    </ul>

</body>

</html>